package com.kgd.news.utils.quartz;

import com.kgd.news.wxpay.util.RedPacketSplitUtil;
import com.kgd.news.wxpay.util.WxPayCheckUtil;
import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

public class CheckWithdrawSystemError implements Job {
    private static Logger log = Logger.getLogger(CheckWithdrawSystemError.class);

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("CheckUnPayOrders " + new Date());
//        com.kgd.news.utils.quartz.CheckSplitHbOutTime
        log.error("CheckWithdrawSystemError " + new Date());
        WxPayCheckUtil.checkWithdrawSystemError();
    }
}
